﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentation/master.Master" AutoEventWireup="true" CodeBehind="PersonalInformationUI.aspx.cs" Inherits="Staionery_Inventory.Presentation.Admin.PersonalInformationUI__Reload_" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <%-- Title--%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <label class="col-sm-8" style="font-size:xx-large">Personal Information</label>
        </div>

        <%-- Name --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtName" class="control-label col-sm-3">Name: </label>
            <%-- lbl --%>
            <asp:Label ID="lblName" runat="server" Text="Label" class="control-label col-sm-2"></asp:Label>
        </div>

        <%-- Role --%>
            <div class="form-group">
                <div class="col-sm-1"></div>
                <%-- lbl --%>
                <label for="btnRole" class="control-label col-sm-3">Role: </label>
                <%-- lbl --%>
                <asp:Label ID="lblRole" runat="server" Text="Label" class="control-label col-sm-2"></asp:Label>
            </div>

        <%-- DeptID --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtDeptID" class="control-label col-sm-3">Department Id: </label>
            <%-- lbl --%>
            <asp:Label ID="lblDeptID" runat="server" Text="Label" class="control-label col-sm-2"></asp:Label>
        </div>

        <%-- HeadID --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtHeadId" class="control-label col-sm-3">Department Head Id: </label>
            <%-- lbl --%>
            <asp:Label ID="lblHeadId" runat="server" Text="Label" class="control-label col-sm-2"></asp:Label>
        </div>
        
        <%-- Phone --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtPhone" class="control-label col-sm-3">Contact No: </label>
            <%-- txt --%>
            <div class="col-sm-3" onkeypress="return keypress(event)">
                <asp:TextBox ID="txtPhone" runat="server" class="form-control" 
                    placeholder="Enter Contact No" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- Email --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtEmail" class="control-label col-sm-3">Email: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtEmail" runat="server" class="form-control" 
                    placeholder="Enter Email" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- Password --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label for="txtPassword" class="control-label col-sm-3">Password: </label>
            <%-- txt --%>
            <div class="col-sm-3">
                <asp:TextBox ID="txtPassword" runat="server" class="form-control" 
                    Text="********" ReadOnly="True" required></asp:TextBox>
            </div>
            <%-- btn --%>
            <asp:Button ID="btnPassword" runat="server" Text="Change" 
                class="btn btn-primary btn-sm" onclick="btnPassword_Click"/>
        </div>

        <%-- button group --%>
            <div class="form-group">
                <div class="col-sm-4"></div>
                <div class="col-sm-5">
                    <asp:Button class="btn btn-success btn-lg" ID="btnUpdate" runat="server" 
                        Text="Update" style="width:90px" onclick="btnUpdate_Click"/>
                </div>
            </div>

            <%-- message label --%>
            <div class="form-group">
                <div class="col-sm-1"></div>
                <asp:Label ID="lblMessage" runat="server" Text="" class="control-label col-sm-7"></asp:Label>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Please enter a correct e-mail" 
                    ForeColor="Red" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </div>

</asp:Content>
